body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
* {
  box-sizing: border-box;
}
.img-load {
  width: 0;
  height: 0;
  overflow: hidden;
}
.full-size {
  width: 100%;
  height: 100%;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;

  .logo-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 99;
    text-align: center;
    .logo {
      height: 120px;
      padding: 20px;
      img {
        height: 100%;
        z-index: 99;
      }
    }
  }
  .bg-video {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    border: 0;
    margin: 0;
    display: block;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
  }

  .p-3 {
    padding: 5px 0;
  }

  .p-big {
    padding: 30px 0;
  }

  .bg-white {
    background-color: #fff !important;
    width: 100%;
    height: 100%;
  }

  .bg-black {
    background-color: #000 !important;
  }
  .img-container {
    width: 100%;
    flex: 1;
    padding: 10px;
    padding-top: 0;
    background-color: 000;
    z-index: 99;
  }
  #img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;

    .col-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

    .col-5 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
    }

    .col-1 {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
    }

    .gap-5 {
      column-gap: 10px;
      row-gap: 10px;
    }

    .gap-1 {
      column-gap: 10px;
      row-gap: 10px;
    }

    .gap-3 {
      column-gap: 30px;
      row-gap: 30px;
    }
    .p-10 {
      padding: 10px;
    }

    .last-container {
      width: 100%;
      height: 100%;
      display: grid;
      column-gap: 5px;
      row-gap: 5px;
      padding: 5px;
      grid-template-columns: repeat(6, 1fr);
      // background-color: #fff;
      animation: lightIn 1s linear 0.2s, outIn 0.8s linear;
      -webkit-animation: lightIn 0.1s linear 0.2s, outIn 0.8s linear;
    }

    .grid-container {
      display: grid;
    }

    .animate-container {
      position: relative;

      .animate-left {
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        padding-right: 10px;
      }

      .animate-right {
        position: absolute;
        left: 100%;
        top: 50%;
        padding-left: 10px;
        transform: translateY(-50%);
      }
      &.bg {
        .animate-left {
          padding-right: 30px;
        }
        .animate-right {
          padding-left: 30px;
        }
      }
    }

    .move-right-slow {
      animation: moveRight 6s linear infinite;
      -webkit-animation: moveRight 6s linear infinite;
    }

    .move-left-slow {
      animation: moveLeft 6s linear infinite;
      -webkit-animation: moveLeft 6s linear infinite;
    }

    .move-right {
      animation: moveRight 15s linear infinite;
      -webkit-animation: moveRight 15s linear infinite;
    }

    .move-left {
      animation: moveLeft 15s linear infinite;
      -webkit-animation: moveLeft 15s linear infinite;
    }

    .move-pause {
      animation-play-state: paused;
      -webkit-animation-play-state: paused;
    }

    .overflow {
      overflow: hidden;
    }

    .offset {
      transform: translateX(20%);
      -webkit-transform: translateX(20%);
    }

    .img-item {
      position: absolute;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      width: 500px;
      height: 300px;
      border: 1px solid #333;
      animation: shrink 10s;
      -webkit-animation: shrink 10s;
      animation-fill-mode: forwards !important;
      -webkit-animation-fill-mode: forwards !important;
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: center;
      // background-color: transparent !important;

      .image-title {
        padding: 10px 30px;
        font-size: 20px;
        // TODO: show
        display: none;
        font-weight: 700;
        background-color: rgba(255, 255, 255, 0.5);
        position: absolute;
        bottom: 5%;
        right: 3%;
        border-radius: 50px;
        animation: shrink-word 5s forwards;
        -webkit-animation: shrink-word 5s forwards;
      }
    }

    .page-container {
      position: absolute;
      width: 5820px;
      height: 3300px;
      animation: makeBig 3s forwards 4s;
      -webkit-animation: makeBig 3s forwards 4s;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.32);
      // transform: translate(-50%, -50%) scale(0.5);
      -webkit-transform: translate(-50%, -50%) scale(0.32);
      // -webkit-transform: translate(-50%, -50%) scale(0.5);
    }

    .i-box {
      position: relative;
      width: 100%;
      height: 100%;

      .i-img {
        width: 100%;
        height: 100%;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        animation: lightIn 0.5s linear;
        -webkit-animation: lightIn 0.5s linear;
      }

      .i-title {
        // TODO: show
        display: none;
        position: absolute;
        font-weight: 500;
        padding: 10px 20px;
        background-color: rgba(255, 255, 255, 0.5);
        right: 20px;
        bottom: 20px;
        border-radius: 50px;
      }
    }
  }

  .padding-none {
    padding: 0 !important;
  }
}

/* 定义动画 */
@keyframes shrink {
  0% {
    transform: scale(1);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  99% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: scale(0);
  }

  100% {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: scale(0);
  }
}

@-webkit-keyframes shrink {
  0% {
    -webkit-transform: scale(1);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  99% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: scale(0);
  }

  100% {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes shrink-word {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  99% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: scale(0);
  }

  100% {
    left: 50%;
    top: 50%;
    opacity: 0;
  }
}

@-webkit-keyframes shrink-word {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  99% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  100% {
   transform: translate(-50%, -50%) scale(0);
    -webkit-transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes moveRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@-webkit-keyframes moveRight {
  0% {
    -webkit-transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(100%);
  }
}

@keyframes moveLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@-webkit-keyframes moveLeft {
  0% {
    -webkit-transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes blurIn {
  0% {
    -webkit-filter: blur(3px);
    /* Chrome, Safari, Opera */
    filter: blur(3px);
  }

  100% {
    -webkit-filter: blur(0px);
    /* Chrome, Safari, Opera */
    filter: blur(0px);
  }
}

@-webkit-keyframes blurIn {
  0% {
    -webkit-filter: blur(3px);
  }

  100% {
    -webkit-filter: blur(0px);
  }
}

@keyframes lightIn {
  0% {
    -webkit-filter: brightness(200%);
    /* Chrome, Safari, Opera */
    filter: brightness(200%);
  }

  100% {
    -webkit-filter: brightness(100%);
    /* Chrome, Safari, Opera */
    filter: brightness(100%);
  }
}

@-webkit-keyframes lightIn {
  0% {
    -webkit-filter: brightness(200%);
  }

  100% {
    -webkit-filter: brightness(100%);
  }
}

@keyframes outIn {
  0% {
    transform: scale(400%);
  }

  100% {
    transform: scale(100%);
  }
}

@-webkit-keyframes outIn {
  0% {
    -webkit-transform: scale(400%);
  }

  100% {
    -webkit-transform: scale(100%);
  }
}

@keyframes makeBig {
  0% {
    transform: translate(-50%, -50%) scale(0.32);
    // transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.88);
  }
}

@-webkit-keyframes makeBig {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0.32);
    // -webkit-transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    -webkit-transform: translate(-50%, -50%) scale(0.88);
  }
}

.page-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  overflow: hidden;
}
